let express = require('express');
let router = express.Router();

const userService = require('../service/userService');

// 此路由需要登录后才能访问
router.use(checkJWTMiddleWare);

const treeHoleService = require('../service/treeHoleService');

/*
 * 新建树洞对话栏
 */
router.post('/newTreeHole', async function(req, res, next) {});

/*
 * 对话接口
 */
router.post('/sendToTreeHole', async function(req, res, next) {});

/*
 * 获取所有树洞
 */
router.post('/getAllTreeHoleList', async function(req, res, next) {});

/*
 * 获取树洞中所有对话信息
 */
router.post('/getAllChatByTreeHole', async function(req, res, next) {});


module.exports = router;
